package ro.gateway.aida.admin;

import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: smike
 * Date: Apr 19, 2004
 * Time: 8:08:29 PM
 * To change this template use File | Settings | File Templates.
 */
public class PropertyList {
	long id;
	String list_name;
	String display_name_tr_item; // label for the translatable name
	String list_title_tr_item; // label for the translatable list title: ex: ben_ltitle(EN):Beneficiaries list
	String item_title_tr_item; // label for the translatable list title: ex: ben_ltitle(EN):Beneficiary
	ArrayList items = new ArrayList();

	public void setViewLang(String lang) {
		for (int i = 0; i < items.size(); i++) {
			PropertyListItem item = (PropertyListItem) items.get(i);
			item.setViewLang(lang);
		}
	}

	public ArrayList getItems() {
		return items;
	}

	public void setItems(ArrayList items) {
		this.items = items;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getList_name() {
		return list_name;
	}

	public void setList_name(String list_name) {
		this.list_name = list_name;
	}

	public String getDisplay_name_tr_item() {
		return display_name_tr_item;
	}

	public void setDisplay_name_tr_item(String display_name_tr_item) {
		this.display_name_tr_item = display_name_tr_item;
	}

	public String getList_title_tr_item() {
		return list_title_tr_item;
	}

	public void setList_title_tr_item(String list_title_tr_item) {
		this.list_title_tr_item = list_title_tr_item;
	}

	public String getItem_title_tr_item() {
		return item_title_tr_item;
	}

	public void setItem_title_tr_item(String item_title_tr_item) {
		this.item_title_tr_item = item_title_tr_item;
	}
}
